# 计算圆的面积
import math

def circle_area(radius):
    area = math.pi * radius ** 2
    return area

radius = float(input("请输入圆的半径："))
area = circle_area(radius)
print(f"圆的面积为：{area:.2f}")